package whu.edu.Dao;

import whu.edu.Entity.Product;
import whu.edu.Entity.Supplier;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author 86159
 */
public interface SupplierRepository extends JpaRepository<Supplier, Integer>{
    Page<Supplier> findByNameContaining(String name, Pageable pageable);
}